package com.vf.admin.miaodong.service.impl;

import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.dao.AfterWxAppletConfigsDao;
import com.vf.admin.miaodong.entity.ApplePaySelect;
import com.vf.admin.miaodong.entity.WechatPayConfigs;
import com.vf.admin.miaodong.entity.WxAppletConfigs;
import com.vf.admin.miaodong.service.AfterWxAppletConfigsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * <p>Title : </p>
 * <p>Description : </p>
 * <p>DevelopTools : IDEA</p>
 * <p>DevelopSystem : Windows11</p>
 *
 * @Author : NemoMeng
 * @Date 2023/12/28 10:50
 */
@Service
public class AfterWxAppletConfigsServiceImpl implements AfterWxAppletConfigsService {

    @Autowired
    private AfterWxAppletConfigsDao afterWxAppletConfigsDao;


    @Override
    public List<WxAppletConfigs> list(Map<String, Object> map, SplitPageBean splitPage) {
        return afterWxAppletConfigsDao.list(map,splitPage);
    }

    @Override
    public WxAppletConfigs get(Integer id) {
        return afterWxAppletConfigsDao.getById(id);
    }

    @Override
    public void saveOrUpdate(WxAppletConfigs params) {
        afterWxAppletConfigsDao.saveOrUpdate(params);
    }

    @Override
    public void del(Integer id) {
        afterWxAppletConfigsDao.delById(id);
    }
}
